package com.tbit.uqbike.compalint.enums;

/**
 * 订单跳转类型枚举
 *
 * @author <a href="mailto:zhang.zhiliang@tbit.com.cn">Zhang ZhiLiang</a>
 * @version 1.0
 * @see <a href="http://adsl1.tbit.com.cn:21490/pages/viewpage.action?pageId=82182491">订单号规范</a>
 * @since 2025/2/18
 */
public enum OrderTypeEnum {

    PERSON_MONEY(0,"个人余额/押金页"),
    RIDE(1,"骑行订单页"),
    CARD(2,"商户交易订单页"),
    ;

    private final Integer code;
    private final String name;

    OrderTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}
